package org.ccay.ws.service;

import org.ccay.core.exception.ApplicationException;

/**
 * 	集群调用服务
 * @author chaowangbang
 * @since 2012-3-29
 */
public interface IClusterInvokeService {
	
	 /** 
	  * 依次调用集群中的各个服务
	 * @param uri
	 * @param queryParameters
	 * @throws ApplicationException 
	 */
	void invoke(String uri,String queryParameters) throws ApplicationException;
	
	/** 
	  * 依次调用集群中的各个服务
	 * @param uri
	 * @param queryParameters
	 * @throws ApplicationException 
	 */
	void invoke(String uri,String method,String queryParameters,Object otherParameters) throws ApplicationException;
}
